package com.xiaochong.tir.common.data.hbasepo;

import java.math.BigDecimal;
import java.util.Date;

/**
 * Created by org on 2018/5/31.
 * mq-交易历史-hbase实体
 */
public class TradesHistory {

    private Object info;//原始数据json
    private String id;//交易id
    private Long timestamp;//时间戳
    private Date date;//时间（使用时间戳，不要使用此时间）
    private String symbol;//	int	交易对 symbol
    private Integer order;//	int	字符串编号或未定义
    private Object type;//	int	订单类型，限价或市单价
    private String side;//int	交易方向，买入或者卖出 buy/sell
    private BigDecimal price;//int	报价货币浮动价格
    private BigDecimal amount;//int	基础货币数量
    private BigDecimal cost;//int	花费
    private String priceCny;//保存开盘人民币价格-取消使用
    private BigDecimal newPriceCny;//保存开盘人民币价格
    private BigDecimal newPriceUsd;//保存美元价格，当前平台币转成美元的最终价格
    private BigDecimal pingPrice;//平台币价格
    private BigDecimal rmbUsdt;//汇率

    public BigDecimal getPingPrice() {
        return pingPrice;
    }

    public void setPingPrice(BigDecimal pingPrice) {
        this.pingPrice = pingPrice;
    }

    public BigDecimal getRmbUsdt() {
        return rmbUsdt;
    }

    public void setRmbUsdt(BigDecimal rmbUsdt) {
        this.rmbUsdt = rmbUsdt;
    }

    public BigDecimal getNewPriceCny() {
        return newPriceCny;
    }

    public void setNewPriceCny(BigDecimal newPriceCny) {
        this.newPriceCny = newPriceCny;
    }

    public Object getInfo() {
        return info;
    }

    public void setInfo(Object info) {
        this.info = info;
    }


    public Long getTimestamp() {
        return timestamp;
    }

    public void setTimestamp(Long timestamp) {
        this.timestamp = timestamp;
    }

    public Date getDate() {
        return date;
    }

    public void setDate(Date date) {
        this.date = date;
    }

    public String getSymbol() {
        return symbol;
    }

    public void setSymbol(String symbol) {
        this.symbol = symbol;
    }

       public Integer getOrder() {
        return order;
    }

    public void setOrder(Integer order) {
        this.order = order;
    }

    public Object getType() {
        return type;
    }

    public void setType(Object type) {
        this.type = type;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getSide() {
        return side;
    }

    public void setSide(String side) {
        this.side = side;
    }

    public BigDecimal getPrice() {
        return price;
    }

    public void setPrice(BigDecimal price) {
        this.price = price;
    }

    public BigDecimal getAmount() {
        return amount;
    }

    public void setAmount(BigDecimal amount) {
        this.amount = amount;
    }

    public BigDecimal getCost() {
        return cost;
    }

    public void setCost(BigDecimal cost) {
        this.cost = cost;
    }

    public String getPriceCny() {
        return priceCny;
    }

    public void setPriceCny(String priceCny) {
        this.priceCny = priceCny;
    }

    public BigDecimal getNewPriceUsd() {
        return newPriceUsd;
    }

    public void setNewPriceUsd(BigDecimal newPriceUsd) {
        this.newPriceUsd = newPriceUsd;
    }
}
